package com.three.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @TableName tb_product_type
 */
@TableName(value ="tb_product_type")
@Data
public class ProductType implements Serializable {
    @TableId
    private Integer commentId;

    private String name;

    private String isvalid;

    private Long isedit;

    private Integer createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    private Integer updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    private String description;

    private static final long serialVersionUID = 1L;
}